import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import Router from './router'
import store from './store'
import { Provider } from 'react-redux'
import { BrowserRouter } from 'react-router-dom'

//UI库 移动
// import 'antd-mobile/dist/antd-mobile.css';  // or 'antd-mobile/dist/antd-mobile.less'

//UI库 react vant
// import { Button } from 'react-vant';
import 'react-vant/lib/index.css';

//UI库 pc
import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'

//适配
import 'lib-flexible'
ReactDOM.render(
  <BrowserRouter>
    <Provider store={store}>
      <Router />
    </Provider>
  </BrowserRouter>,
  document.getElementById('root')
);

